package com.dingup.mock.dao.speaking;


import com.dingup.mock.bean.base.ArticleOrder;
import com.dingup.mock.bean.speaking.TsSpeakingQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by yanggavin on 16/4/29.
 */
@Mapper
public interface TsSpeakingQuestionsMapper {
    Boolean add(TsSpeakingQuestion tsSpeakingQuestion);
    Boolean update(TsSpeakingQuestion tsSpeakingQuestion);
    Boolean delete(TsSpeakingQuestion tsSpeakingQuestion);
    List<TsSpeakingQuestion> getQuestions(Map<String, Object> param);
    TsSpeakingQuestion getQuestion(Map<String, Object> param);
    TsSpeakingQuestion getById(Integer id);
    List<TsSpeakingQuestion> getList();
    Boolean exist(TsSpeakingQuestion article);
    List<TsSpeakingQuestion> getAllSubjectName();

    List<ArticleOrder> getTPORealTestSubjectName();
}
